<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('store/finance')}">门店数据</a></li>
		</ul>
        <form class="well form-inline margin-top-20" method="get" action="{:url('store/finance')}">
            门店名称:
            <input type="text" class="form-control" name="name" style="width: 220px;" value="{:input('request.name/s','')}" placeholder="请输入{:lang('USERNAME')}">
            门店地址:
            <input type="text" class="form-control" name="address" style="width: 220px;" value="{:input('request.address/s','')}" placeholder="请输入{:lang('EMAIL')}">
            时间:
            <input type="text" class="form-control js-bootstrap-date" name="start_date" style="width: 220px;" value="{:input('request.start_date/s','')}" placeholder="请选择开始日期" autocomplete="off">
            -
            <input type="text" class="form-control js-bootstrap-date" name="end_date" style="width: 220px;" value="{:input('request.end_date/s','')}" placeholder="请选择结束日期" autocomplete="off">
            <input type="submit" class="btn btn-primary" value="搜索" />
            <a class="btn btn-danger" href="{:url('store/finance')}">清空</a>
        </form>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>门店名称</th>
					<th>营业额</th>
					<th>收入</th>
					<th width="240">{:lang('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="list" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.name}</td>
					<td>{$vo.finance.total_price}</td>
					<td>{$vo.finance.total_store_award}</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>